/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_Studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once


#include <基本类型.h>
#include <vector>
#include <向量.h>

Inline std::vector<float32> f_range(uint32 num, float32 init_v) {
	return std::vector<float32>(num, init_v);
}

Inline std::vector<vec3> f_range(uint32 num, vec3 init_v) {
	return std::vector<vec3>(num, init_v);
}


Inline std::vector<S_RGBA8UI> f_range(uint32 num, S_RGBA8UI init_v) {
	std::vector<S_RGBA8UI> data(num);
	for (uint32 i = 0; i < num; ++i) data[i] = init_v;
	return data;
}

